package com.sweetguy.dto;

import com.sweetguy.constant.RE;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Schema(name = "购物车分页DTO")
@Data
public class CartPageDTO extends PageDTO implements RE {

    @Schema(description = "用户ID,用户表外键")
    private Long fkUserId;

    @Schema(description = "课程ID,课程表外键")
    private Long fkCourseId;

    @Schema(description = "课程标题")
    private String courseTitle;
}
